package com.job.shuang.HomeWork0705;

/**
 * @author liushuang
 * @version 1.0
 * @since 2022-07-06 09:50:04
 */
public class Student0705 {
    //有参
    //成员变量
    public String sName;
    public String sSex;
    public int sAge;
    private int sJava;

    //成员方法
    public Student0705(int a, String Na, String s, int j) {
        sName = Na;
        sSex = s;
        sAge = a;
        setsJava(j);
    }
    public void Student() {
        System.out.println("欢迎进入学生成绩管理系统！");
    }
    public String getName() {
        return sName;
    }
    public String getSex() {
        return sSex;
    }
    public int getAge() {
        return sAge;
    }
    public int getJava() {
        return getsJava();
    }

    //无参
    public Student0705(){

    }

    public int getsJava() {
        return sJava;
    }

    public void setsJava(int sJava) {
        this.sJava = sJava;
    }
}




